Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239073 | PHTN-67-000001 | SV-239073r675027_rule | Medium |
Description |
---|
Once an attacker establishes access to a system, the attacker often attempts to create a persistent method of reestablishing access. One way to accomplish this is for the attacker to create an account. Auditing account creation actions provides logging that can be used for forensic purposes. |
STIG | Date |
---|---|
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide | 2021-04-15 |
Check Text ( C-42284r675025_chk ) |
---|
At the command line, execute the following command: # auditctl -l | grep -E "(useradd|groupadd)" Expected result: -w /usr/sbin/useradd -p x -k useradd -w /usr/sbin/groupadd -p x -k groupadd If either "useradd" or "groupadd" are not listed with a permissions filter of at least "x", this is a finding. |
Fix Text (F-42243r675026_fix) |
---|
At the command line, execute the following commands: # echo '-w /usr/sbin/useradd -p x -k useradd' >> /etc/audit/rules.d/audit.STIG.rules # echo '-w /usr/sbin/groupadd -p x -k groupadd' >> /etc/audit/rules.d/audit.STIG.rules # /sbin/augenrules --load |